package website.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import website.constants.Code;
import website.domain.Photo;
import website.domain.Recall;
import website.domain.ResModel;
import website.mapper.PhotoMapper;
import website.mapper.RecallMapper;
import website.service.PhotoService;
import website.service.RecallService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RecallServiceImpl extends ServiceImpl<RecallMapper, Recall> implements RecallService {

    @Resource
    private RecallMapper recallMapper;


    /**
     * 查询照片
     * @return
     */
    @Override
    public ResModel<List<Recall>> getList() {
        return ResModel.success(Code.SUCCESS,list());
    }
}
